#include <REGX51.H>
#include <absacc.h>
#include <definicje.h>
#include <prototypy.h>

byte w7segm_KonwertujCyfre(byte a)
{
	switch(a)
	{
		case 0:	return w7segm_0;
		case 1:	return w7segm_1;
		case 2:	return w7segm_2;
		case 3:	return w7segm_3;
		case 4:	return w7segm_4;
		case 5:	return w7segm_5;
		case 6:	return w7segm_6;
		case 7:	return w7segm_7;
		case 8:	return w7segm_8;
		case 9:	return w7segm_9;
	}	
}